package com.clwl.supervise.superviseapp.entity.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "sys_login_infor")
public class SysLoginInfor implements Serializable {

    @TableId(value = "ID",type = IdType.AUTO)
    private Long id;

    @TableField(value = "USERNAME")
    private String username;

    @TableField(value = "IPADDR")
    private String ipaddr;

    @TableField(value = "LOGIN_LOCATION")
    private String loginLocation;

    @TableField(value = "BROWSER")
    private String browser;

    @TableField(value = "OS")
    private String os;

    @TableField(value = "MOBILE")
    private String mobile;

    @TableField(value = "`STATUS`")
    private String status;

    @TableField(value = "MSG")
    private String msg;

    @TableField(value = "LOGIN_TIME")
    private Date loginTime;

    @TableField(value = "COMP_ID")
    private Long compId;

    @TableField(value = "DEPT_ID")
    private Long deptId;

    @TableField(value = "LOGIN_TYPE")
    private String loginType;

    @TableField(value = "TENANT_ID")
    private String tenantId;

    @TableField(value = "USER_AGENT")
    private String userAgent;

    private static final long serialVersionUID = 1L;
}